package com.data.center.dictionary;

import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
@Slf4j
class AdminDivisionStatusTestSC {

    @Test
    void getValueByKey() {
        log.info(AdminDivisionStatus.getValueByKey("1").getValue());

    }

    @Test
    void getKeyByValue() {
        log.info(AdminDivisionStatus.getKeyByValue("已失效").getKey());
    }

    @Test
    void getKeyByValueError() {
        log.info(AdminDivisionStatus.getKeyByValue("无").getKey());
    }
}